import {
  IsEmpty,
  IsNotEmpty,
  IsNumber,
  IsOptional,
  IsString,
} from 'class-validator';

export class CreateYingpingfankuiDto {
  @IsNumber()
  id: number;

  @IsNumber()
  @IsOptional()
  pingfen: number;

  @IsString()
  @IsNotEmpty()
  pingyu: string;
}
